<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>问卷调查</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
        <meta content="yes" name="apple-mobile-web-app-capable">
        <meta content="yes" name="apple-touch-fullscreen">
        <link rel="shortcut icon" href="__CDN__/assets/img/favicon.ico" />
        <link href="__CDN__/assets/css/frontend{$Think.config.app_debug?'':'.min'}.css?v={$Think.config.site.version}" rel="stylesheet">
        <link href="__CDN__/assets/css/user.css?v={$Think.config.site.version}" rel="stylesheet">
        <link rel="stylesheet" href="__ADDON__/css/base.css">
        <link rel="stylesheet" href="__ADDON__/css/style.css">
        <script src="__ADDON__/js/jquery.js"></script>
    </head>
    <body>
        <header class="header">
            <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
                <div class="container">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-navbar">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="{:addon_url('ykquest/index/index')}" style="padding:6px 15px;"><img src="__CDN__/assets/img/logo.png" style="height:40px;" alt=""></a>
                    </div>
                    <div class="collapse navbar-collapse" id="header-navbar">
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                {if $user}
                                <a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown" style="padding-top: 10px;height: 50px;">
                                    <span class="avatar-img"><img src="{$user.avatar|cdnurl}" alt=""></span>
                                </a>
                                {else /}
                                <a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown">会员中心 <b class="caret"></b></a>
                                {/if}
                                <ul class="dropdown-menu">
                                    {if $user}
                                    <li><a href="{:url('index/user/index','', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-user-circle fa-fw"></i>个人中心</a></li>
                                    <li><a href="{:url('index/user/profile','', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-user-o fa-fw"></i>{:__('Profile')}</a></li>
                                    <li><a href="{:url('index/user/changepwd','', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-key fa-fw"></i>修改密码</a></li>
                                    <li><a href="{:url('index/user/logout','', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-sign-out fa-fw"></i>{:__('Sign out')}</a></li>
                                    {else /}
                                    <li><a href="{:url('index/user/login', '', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-sign-in fa-fw"></i> {:__('Sign in')}</a></li>
                                    <li><a href="{:url('index/user/register', '', false, $Think.config.url_domain_deploy?'www':'')}"><i class="fa fa-user-o fa-fw"></i> {:__('Sign up')}</a></li>
                                    {/if}

                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
        </header>
